package com.camundademo.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 *
 */
@Getter
@AllArgsConstructor
public enum AppErrEnum implements IError {
    ILLEGAL_USER_NAME("ILLEGAL_USER_NAME", "非法用户名"),
    PASSWORD_TOO_SHORT("PASSWORD_TOO_SHORT", "密码长度不够"),
    PASSWORDS_NOT_SAME("PASSWORDS_NOT_SAME", "两次密码不一致"),
    ;
    private final String code;
    private final String errMsg;
}
